package com.hellobike.haxing.modules.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hellobike.haxing.modules.product.entity.WmsStockSync;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author szzha
 * @since 2020-02-17
 */
public interface WmsStockSyncMapper extends BaseMapper<WmsStockSync> {

    @Select("select state from t_shop where id = #{shopId} ")
    Integer selectShopStatus(@Param("shopId") Long shopId);
}
